import mpu6050
from machine import I2C,Pin
import utime
i2c = I2C(scl=Pin(17), sda=Pin(16))
accel = mpu6050.accel(i2c)
while True:
    accel_dict = accel.get_values()
    print(accel_dict)
    utime.sleep(3)